<?php

// put full path to Smarty.class.php
require('/usr/share/pear/Smarty/Smarty.class.php');
$smarty = new Smarty();

$base_smarty_app_dir = '/var/www/endeepen/smarty';

$smarty->template_dir = $base_smarty_app_dir . '/templates';
$smarty->compile_dir = $base_smarty_app_dir . '/templates_c';
$smarty->cache_dir = $base_smarty_app_dir . '/cache';
$smarty->config_dir = $base_smarty_app_dir . '/configs';

$smarty->assign('name', 'Ned');
$smarty->display('index.tpl');




?>

